package com.we.weblog.service;

import com.we.weblog.domain.Game;

import java.util.List;

public interface GameService{
    //新增
    public int addGame(Game game);

    //修改
    public int updateGameById(Game game);

    //删除
    public int deleteGameById(Integer id);

    //通过Id查询
    public Game selectGameId(Integer id);

    //查询所有
    public List<Game> selectGame();

    //通过分类Id查询
    public List<Game> selectGameByCategory(Integer categoryId);

    //通过标签Id查询
    public List<Game> selectGameByTag(Integer tagId);
}
